From 0038f3d5024c253cb94e56eb2b26ba930fdfd2f4 Mon Sep 17 00:00:00 2001 From: Mirko Vogt Date: Thu, 29 Jan 2009 13:05:40 +0000 Subject: [PATCH] adding a set of configuraton files based on freedesktop.org specifications and add it as dependency to freedesktop compliant applications SVN-Revision: 14260 --- desktop/meta/freedesktop-compliant/Makefile | 41 ++++++ .../files/etc/xdg/menus/applications.menu | 121 ++++++++++++++++++ desktop/wm/karmen/Makefile | 2 +- desktop/wm/openbox/Makefile | 3 +- efl/enlightenment/Makefile | 2 +- xfce/wm/xfwm4/Makefile | 2 +- 6 files changed, 167 insertions(+), 4 deletions(-) create mode 100644 desktop/meta/freedesktop-compliant/Makefile create mode 100644 desktop/meta/freedesktop-compliant/files/etc/xdg/menus/applications.menu diff --git a/desktop/meta/freedesktop-compliant/Makefile b/desktop/meta/freedesktop-compliant/Makefile new file mode 100644 index 0000000000..383e37e004 --- /dev/null +++ b/desktop/meta/freedesktop-compliant/Makefile @@ -0,0 +1,41 @@ +# +# Copyright (C) 2009 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# $Id: Makefile 14099 2009-01-18 23:10:59Z lars $ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=freedesktop-compliant +PKG_VERSION:=1.0 +PKG_RELEASE:=1 + +include $(INCLUDE_DIR)/package.mk + +define Package/freedesktop-compliant + SECTION:=xorg-meta + CATEGORY:=Xorg + SUBMENU:=meta + TITLE:=freedesktop-compliant +endef + +define Package/freedesktop-compliant/description + This package contains a set of configuraton files based on freedesktop.org specifications which should by freedesktop.org compliant software +endef + +define Build/Configure +endef + +define Build/Compile +endef + +define Package/freedesktop-compliant/install + $(INSTALL_DIR) $(1)/etc + $(CP) \ + ./files/etc/* \ + $(1)/etc/ +endef + +$(eval $(call BuildPackage,freedesktop-compliant)) diff --git a/desktop/meta/freedesktop-compliant/files/etc/xdg/menus/applications.menu b/desktop/meta/freedesktop-compliant/files/etc/xdg/menus/applications.menu new file mode 100644 index 0000000000..01a7ad45cf --- /dev/null +++ b/desktop/meta/freedesktop-compliant/files/etc/xdg/menus/applications.menu @@ -0,0 +1,121 @@ + + + + Applications + + + + Office + Office.directory + + + Office + + + + + Multimedia + Multimedia.directory + + + AudioVideo + + + + + Graphics + Graphics.directory + + + Graphics + + + + + Games + Games.directory + + + Games + + + + + Internet + Internet.directory + + + Network + + + + + Telephony + Telephony.directory + + + + Telephony + TelephonyTools + + + + + + Settings + Settings.directory + + + + SystemSettings + Settings + + + System + + + + + + Accessories + Accessories.directory + + + + Applications + Utility + + + System + Office + Internet + AudioVideo + Graphics + Games + + + + + + Other + Other.directory + + + + + Office + AudioVideo + Graphics + Games + Network + Applications + SystemSettings + Settings + System + Telephony + TelephonyTools + + + + + diff --git a/desktop/wm/karmen/Makefile b/desktop/wm/karmen/Makefile index 1e206f4461..313d187fb3 100644 --- a/desktop/wm/karmen/Makefile +++ b/desktop/wm/karmen/Makefile @@ -25,7 +25,7 @@ define Package/karmen SECTION:=xorg-wm CATEGORY:=Xorg SUBMENU:=window manager - DEPENDS:=+libX11 + DEPENDS:=+libX11 +freedesktop-compliant URL:=http://karmen.sourceforge.net/ endef diff --git a/desktop/wm/openbox/Makefile b/desktop/wm/openbox/Makefile index 5b8f3fbb8b..72ece94d82 100644 --- a/desktop/wm/openbox/Makefile +++ b/desktop/wm/openbox/Makefile @@ -29,7 +29,8 @@ define Package/openbox CATEGORY:=Xorg SUBMENU:=window manager DEPENDS:=+glib2 +libxml2 +fontconfig +libXft +libXrandr +libXt \ -+libXcursor +pango +xextproto +xf86vidmodeproto +dejavu-fonts-ttf ++libXcursor +pango +xextproto +xf86vidmodeproto +dejavu-fonts-ttf \ ++freedesktop-compliant URL:=http://icculus.org/openbox/ endef diff --git a/efl/enlightenment/Makefile b/efl/enlightenment/Makefile index 90afef1a6d..3284a508cb 100644 --- a/efl/enlightenment/Makefile +++ b/efl/enlightenment/Makefile @@ -30,7 +30,7 @@ define Package/enlightenment SUBMENU:=window manager TITLE:=Enlightenment e17 window manager URL:=http://enlightenment.org - DEPENDS:=+libintl +libpthread +eet +evas +ecore +edje +efreet +edbus +dbus-utils +dejavu-fonts-ttf + DEPENDS:=+libintl +libpthread +eet +evas +ecore +edje +efreet +edbus +dbus-utils +dejavu-fonts-ttf +freedesktop-compliant endef define Package/enlightenment/config diff --git a/xfce/wm/xfwm4/Makefile b/xfce/wm/xfwm4/Makefile index c794e35d81..2a3cad5587 100644 --- a/xfce/wm/xfwm4/Makefile +++ b/xfce/wm/xfwm4/Makefile @@ -32,7 +32,7 @@ define Package/xfwm4 CATEGORY:=Xorg SUBMENU:=app TITLE:=xfwm4 - DEPENDS:=+libxfce4util +libxfcegui4 +libxfconf +libdbus-glib +libwnck + DEPENDS:=+libxfce4util +libxfcegui4 +libxfconf +libdbus-glib +libwnck +freedesktop-compliant endef define Package/xfwm4/install -- 2.30.2